package com.ygqh.baby.model.wdt.qyb;

import com.alibaba.fastjson.annotation.JSONField;

public class WdtSkuStockBack {

	/**
	 * 回写的记录id，见logistics_sync_query中rec_id
	 */
	@JSONField(name = "rec_id")
	private int recId;
	/**
	 * 回写状态: 0成功 1失败
	 */
	@JSONField(name = "sync_stock")
	private int syncStock;
	/**
	 * 相关描述信息,可在erp的物流同步界面看到
	 */
	@JSONField(name = "stock_change_count")
	private int stockChangeCount;

	public WdtSkuStockBack() {
		super();
	}

	public WdtSkuStockBack(int recId, int syncStock, int stockChangeCount) {
		super();
		this.recId = recId;
		this.syncStock = syncStock;
		this.stockChangeCount = stockChangeCount;
	}

	public int getRecId() {
		return recId;
	}

	public void setRecId(int recId) {
		this.recId = recId;
	}

	public int getSyncStock() {
		return syncStock;
	}

	public void setSyncStock(int syncStock) {
		this.syncStock = syncStock;
	}

	public int getStockChangeCount() {
		return stockChangeCount;
	}

	public void setStockChangeCount(int stockChangeCount) {
		this.stockChangeCount = stockChangeCount;
	}

	@Override
	public String toString() {
		return "WdtSkuStockBack [recId=" + recId + ", syncStock=" + syncStock + ", stockChangeCount=" + stockChangeCount + "]";
	}

}
